package cn.jiyun.feign;

import cn.jiyun.dto.CatalogsDTO;
import cn.jiyun.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 季乾帅
 * @create 2023/8/25 20:46
 */
@FeignClient("Catalogs")
public interface CatalogsFeign {

    @RequestMapping("/catalogs/findCatalogs")
    public Result findAll(@RequestParam("cid") Integer cid, @RequestBody CatalogsDTO catalogsDTO);

}
